﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Rose.Models.ChangeSecretModel>" %>


<asp:Content  ContentPlaceHolderID="MiddleContent" runat="server">

   <div class="headmessage">
     <h2>修改保密问题</h2>
   
   </div>

   
    <form method="post" action="/Account/ChangeSecret">
    <div id="accountform">
         <p><a class="laber">&nbsp;</a><a class="info"><%=Html.Label(Model.OldQuestion)%></a></p>

    <%if (!string.IsNullOrEmpty(Model.OldQuestion))
      { %>
      <p><a class="laber">旧保密问题：</a><a class="info"><%=ViewData["Message"] %></a></p>
    <p><%=Html.HiddenFor(m => m.OldQuestion)%></p>
      <%}
      else
      { %>
      <p><a class="laber">旧保密问题：</a><a class="info" style="color:Red">"未设置"</a></p>
      <p><%=Html.HiddenFor(m => m.OldQuestion)%></p>
      <%} %>
    <p><a class="laber">请输入您的密码：</a><a class="info"><%=Html.PasswordFor(m=>m.Password) %></a></p>
    <p><a class="laber">请输入新保密问题：</a><a class="info"><%=Html.TextBoxFor(m=>m.SecretQuestion) %></a></p>
    <p><a class="laber">请输入新保密答案：</a><a class="info"><%=Html.TextBoxFor(m=>m.SecretAnswer) %></a></p>
    <p><a class="laber">&nbsp;</a><a class="info"><input type="submit" value="保存" /></a></p>
    </div>
    
    </form>
   

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
<link href="../../Content/Css/registerform.css" rel="Stylesheet" />
</asp:Content>
